from app.app_main_application import HappyRecordApp
from component.c_log import delete_logs_if_debug

def app_main():
    # 删除日志文件
    delete_logs_if_debug()
    
    app = HappyRecordApp()
    app.run()


if __name__ == '__main__':
    app_main()
